Skip to content

Use __atomic_store_n() instead of __sync_test_and_set() for lsapi #9976

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

andypost
Copy link
Contributor

Follow-up to #7997 (comment) (it builds fine on RV64 arch)

Related to #7914 but probably better to unify usage #7914 (comment)

@gwanglst
Copy link
Contributor

I did a full replacement of __sync_xxxx() with __atomic_xxxx(), please check 4bdfce6

@andypost
Copy link
Contributor Author

Thank you! it fixes even 8.0 4bdfce6

The clean-up and configuration of atomics could use follow-up issue instead of #7914 (comment)

I mean it needs separate issue to unify usage of atomics

@andypost andypost closed this Nov 21, 2022
@andypost andypost deleted the 7914-atomics-8.1-rv64 branch November 21, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants